home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Proxies / Proxy.h < prev    next >
Text File  |  1997-06-28  |  286b  |  20 lines

  1. // Proxy.h
  2.  
  3. #ifndef Proxy_h
  4. #define Proxy_h
  5.  
  6. #ifndef ConstProxy_h
  7. #include "ConstProxy.h"
  8. #endif
  9.  
  10. template < class StoodFor >
  11. class Proxy: public ConstProxy< StoodFor >
  12.   {
  13.     public:
  14.         virtual void Set( StoodFor ) = 0;
  15.  
  16.         void operator=( const StoodFor& s )            { Set( s ); }
  17.   };
  18.  
  19. #endif
  20.